﻿@using KL.Store.Core
@model KL.Store.Web.Models.Summary
@{var InstlPrc = Model.InstallmentPrice;}
@if (Parameters.Theme == "JJ" || Parameters.Theme == "JB")
{
    <span id="cart-total"><span class="hidden-xs">(@(Model.TotalQty.ToString("###0.##"))
        ürün - </span>@(Model.TotalPriceCreditCard.ToString("###,###,##0.00"))<span class="hidden-xs"> TL)</span>
        @if (InstlPrc > 0)
        {
            @Html.Raw("<span class=\"hidden-xs\"><br />+Kurulum Ücretleri</span>");
        }
    </span>
}
else if (Parameters.Theme == "HA")
{
    <div id="sepetSayi">
        @(Model.TotalQty.ToString("###0.##"))
    </div>
    <div>
        <div id="sepetim">SEPETİM</div>
        <div id="cart-price">
            <span id="cart-total">
                @(Model.TotalPriceCreditCard.ToString("###,###,##0.00")) TL
            </span>
        </div>
    </div>
}
else if (Parameters.Theme == "WU")
{
    
    <div class="cart-label">
        <h4>Sepetim</h4>
        <div class="cart_mini_right">
            @(Model.TotalQty.ToString("###0.##")) ürün - <span class="price">@(Model.TotalPriceCreditCard.ToString("###,###,##0.00")) TL</span>
            <div class="right_arrow"></div>
        </div>
    </div>
}
else
{
    <a href="/Cart/Index"><span id="cart-total">
        @(Model.TotalQty.ToString("###0.##"))
        ürün - @(Model.TotalPriceCreditCard.ToString("###,###,##0.00")) TL
    </span>
    </a>
    if (InstlPrc > 0)
    {
        Html.Raw("<div class=\"installment-cart\"><br />+Kurulum Ücretleri</div>");
    }
}
